{% extends "mail_aliases/form.html" %}
HCP{% block title %}Zserve - Mail Alias - {{ mail_alias.mail[0] }}{% endblock %}

{% set form_action = url('hcp-mail-aliases-edit', mail_alias.dn) %}

{% block torso %}
<!-- MEDIA include json connection container button dragdrop animation /js/delete.js -->
<button id="hcp-delete-button">Delete This Mail Alias</button>
<h1>Edit Mail Alias {{ mail_alias.mail[0] }}</h1>
{{ super() }}
{% endblock %}

{% block js %}
{{ super() }}
<script type="text/javascript">

function init() {
  delete_init("mail alias", "{{ mail_alias.mail[0] }}",
              "{{ url('hcp-mail-aliases-delete', mail_alias.dn) }}",
              "{{ url('hcp-mail-aliases') }}");

}

YAHOO.util.Event.addListener(window, "load", init);
</script>
{% endblock %}
